<?php
	namespace ampleharvest;
	//require_once 'cConfig.php';

	class cServers
	{
		const C_STR_DEFAULT_ARTICLE = "/ampleharvest/pages/article/?id={id}";
		const C_STR_GE_SOLR_SHARDS = "192.168.20.54:8080/solr/ge0";

		static $C_ARR_SERVERS = array(
			//Used in Views->Article and Views->FlatFile
            "7B0474F4-F829-4DEC-9EA4-6C4E8B58293B"   => "{ampleharvest}/pages/printView.php?id={id}",
                        
            //The next three are used only in cToolbar to download these three types of stuff
			"RawContentServer"		=> "http://192.168.20.127:8983/reaper/docExport.htm?id={id}&docView=rawContent",
			"HarvestMetadataServer"		=> "http://192.168.20.127:8983/reaper/docExport.htm?id={id}&docView=metadata",
			"RawContentSnapshotServer"	=> "http://192.168.20.127:8983/reaper/docExport.htm?id={id}&docView=rawContentSnapshot",

            //Used to download/export grids.  With security we need to pass a direct url (vs proxying) so the window.location takes the current users D/N and cert rather than the machine cert.  window.location doesn't allow for custom request headers.
            "GeneralScareServices"		=> "https://192.168.20.141:8443/gs/",
				
			//Used to define the GE shards options used on high side. Low side they must be set to false because we have no shards
			"GEshard1"					=> false,
			"GEshard2"					=> false
		);
		
		public static function get_Constants()
		{
			$arr_Output = array();
			
			$arr_Output['C_STR_DEFAULT_ARTICLE'] = self::C_STR_DEFAULT_ARTICLE;
			$arr_Output['C_STR_GE_SOLR_SHARDS'] = self::C_STR_GE_SOLR_SHARDS;
			$arr_Output['C_ARR_SERVERS'] = cServers::$C_ARR_SERVERS;
		
			return $arr_Output;
		}
	}
	?>
